package com.huluobo.base.net

import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

/**
 *  Created by LC on 2024/8/8.
 */
@Module
@InstallIn(SingletonComponent::class)
object ProviderFactory {
    @Provides
    @Singleton
    fun serviceSign(): ApiServiceLogin = getServiceSign()

    @Provides
    @Singleton
    fun serviceToken(): ApiService = getServiceToken()
}